package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 要事提醒
对象 important_reminder
 * 
 * @author ruoyi
 * @date 2022-04-18
 */
public class ImportantReminder extends BaseEntity
{
    private static final long serialVersionUID = 1L;



    @Transient
    private String ss;
    /** 主键id */
    private Long id;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目持续天数 */
    @Excel(name = "项目持续天数")
    private int continuedTime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 批文时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "批文时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    public int getContinuedTime() {
        return continuedTime;
    }

    public void setContinuedTime(int continuedTime) {
        this.continuedTime = continuedTime;
    }

    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setApprovalTime(Date approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime() 
    {
        return approvalTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("continuedTime", getContinuedTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("approvalTime", getApprovalTime())
            .toString();
    }
}
